const { createProxyMiddleware } = require('http-proxy-middleware')
 
module.exports = function (app) {
    app.use(
      createProxyMiddleware("http://geek.itheima.net/v1_0", {
        target: "http://localhost:5000",
        changeOrigin: true,
      }),
    );
}
